//
//  VideoNavigationController.m
//  VideoExam
//
//  Created by apple on 2020/4/11.
//

#import "VideoNavigationController.h"

@interface VideoNavigationController ()

@end

@implementation VideoNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
- (BOOL)shouldAutorotate {
    return  NO;
}

- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskLandscapeRight;
//    if ([AppTools current_Device_is_ipad]) {//ipad
//         return UIInterfaceOrientationMaskLandscapeRight;
//    } else {//ipone
//        return UIInterfaceOrientationMaskLandscapeRight;
//    }
}
//设置presentation方式展示的屏幕方向
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation {
     return UIInterfaceOrientationLandscapeRight;
//    if ([AppTools current_Device_is_ipad]) {//ipad
//           return UIInterfaceOrientationLandscapeRight;
//      } else {//ipone
//           return UIInterfaceOrientationLandscapeRight;
//      }
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
